package com.tgy.JUC.FinalLock;

import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;

/***
 * @ClassName: FairLock
 * @Description: 测试公平非公平锁
 * @Auther: 送你一块二向箔
 * @Date: 16:16 2022/3/16
 * @version : V1.0
 */
public class FairLock {
    private ReentrantLock reentrantLock= new ReentrantLock(true);


    public static void main(String[] args) {

    }
}
